Skip to content

Conversation

@bhavya2109sharma
Copy link
Contributor

Problem

  • Connect button only appeared for spaces with remote access enabled. When users landed on the toolkit and saw running spaces without remote access, there was no connect button visible. This created confusion because:
    -- Users expected to be able to connect to any running space
    -- No visual indication that connection was possible
    -- Users didn't understand why some spaces were "connectable" and others weren't

Solution

  • Always show connect button for all spaces (running and stopped, regardless of remote access status). When users click connect on a space without remote access, show clear dialog explaining what needs to happen and get their consent upfront.
  • There is no breaking change.
  • Tested for all use-cases SM-AI and SMUS

Current User Exp


Screen.Recording.2025-11-05.at.3.23.39.PM.mov
  • Treat all work as PUBLIC. Private feature/x branches will not be squash-merged at release time.
  • Your code changes must meet the guidelines in CONTRIBUTING.md.
  • License: I confirm that my contribution is made under the terms of the Apache 2.0 license.

@bhavya2109sharma bhavya2109sharma requested a review from a team as a code owner November 5, 2025 23:52
@github-actions
Copy link

github-actions bot commented Nov 5, 2025

  • This pull request modifies code in src/* but no tests were added/updated.
    • Confirm whether tests should be added or ensure the PR description explains why tests are not required.
  • This pull request implements a feat or fix, so it must include a changelog entry (unless the fix is for an unreleased feature). Review the changelog guidelines.
    • Note: beta or "experiment" features that have active users should announce fixes in the changelog.
    • If this is not a feature or fix, use an appropriate type from the title guidelines. For example, telemetry-only changes should use the telemetry type.

@bhavya2109sharma bhavya2109sharma force-pushed the feature/smus-ux-improvements branch from 1a5a7cf to 3cfbdfe Compare November 6, 2025 00:11
Copy link
Contributor

@laileni-aws laileni-aws left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Its better to add change log for this !

}

// Get current instance type
const requestedResourceSpec =
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit : "requestedResourceSpec" - Is this called in the update flow? If not, the "requested" part is misleading.

)
} else {
// Only remote access needs to be enabled
prompt = `This space requires remote access to be enabled.\nWould you like to restart the space and connect?\nAny unsaved work will be lost.`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we move this to a constant where existing error messages are managed please?

})

// Update progress message
progress.report({ message: 'Starting the space' })
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit : Can maybe include the new instanceType in the case we are also upgrading instance type.

let baseTooltip = ''
if (this.isSMUSSpace) {
return `**Space:** ${spaceName} \n\n**Application:** ${appType} \n\n**Instance Type:** ${instanceType}`
baseTooltip = `**Space:** ${spaceName} \n\n**Application:** ${appType} \n\n**Instance Type:** ${instanceType}`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for updating this!

@bhavya2109sharma bhavya2109sharma force-pushed the feature/smus-ux-improvements branch 2 times, most recently from 7a4f4cd to 03358a7 Compare November 7, 2025 07:57
Copy link
Contributor

@vpbhargav vpbhargav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please test thoroughly for both SMUS and SMAI, thanks for making this improvement!

@laileni-aws laileni-aws enabled auto-merge (squash) November 7, 2025 18:03
auto-merge was automatically disabled November 7, 2025 20:23

Head branch was pushed to by a user without write access

@bhavya2109sharma bhavya2109sharma force-pushed the feature/smus-ux-improvements branch 2 times, most recently from c0b5314 to e0278f5 Compare November 7, 2025 20:58

// Setup test window to handle confirmation dialog
getTestWindow().onDidShowMessage((message) => {
if (message.message.includes('remote access')) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would find this easier to understand what we are testing if I could see a little bit more of the message we are matching. If we have a constant for the message, we can simply reference it here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@bhavya2109sharma bhavya2109sharma force-pushed the feature/smus-ux-improvements branch from e0278f5 to 0e8e53a Compare November 7, 2025 21:30
@Will-ShaoHua Will-ShaoHua merged commit df9ef5d into aws:master Nov 7, 2025
30 of 31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants